package com.guli.mall.pms;

import com.guli.mall.serviceBase.config.RedisCacheConfigurationConfig;
import com.guli.mall.serviceBase.config.RedisTemplateConfig;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.session.data.redis.config.annotation.web.http.EnableRedisHttpSession;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/*
 * @Author 罗
 * @date 2020/9/17 - 2:37 下午
 */
@SpringBootApplication
@MapperScan("com.guli.mall.pms.mapper")
@EnableFeignClients
@EnableTransactionManagement
@EnableCaching
@EnableRedisHttpSession
public class ProductServiceApp {

    public static void main(String[] args) {
        SpringApplication.run(ProductServiceApp.class, args);
    }
}
